package com.bjb.vr.common.constant;

/**
 * @description:
 * @author: hujingbo
 * @create: 2022-07-25 14:26
 **/
public class CanalConstant {

    public static final String[] NEED_SYNC_TABLES = {"ums_account", "ums_role", "ums_user_role", "ums_role_menu", "ums_opt_account", "ums_opt_role", "ums_opt_user_role", "ums_opt_role_menu"};

    /**
     * 删除操作
     */
    public static final String DELETE = "DELETE";
    /**
     * 更新操作
     */
    public static final String UPDATE = "UPDATE";
    /**
     * 插入操作
     */
    public static final String INSERT = "INSERT";
    /**
     * SQL语句
     */
    public static final String SYNC_SQL = "sql";
    /**
     * SQL语句类型
     */
    public static final String EVENT_TYPE = "eventType";
    /**
     * SQL语句类型2
     */
    public static final String TYPE = "type";
    /**
     * SQL语句
     */
    public static final String STATEMENT = "statement";
    /**
     * 数据
     */
    public static final String DATA = "data";
    /**
     * 旧数据
     */
    public static final String OLD = "old";
    /**
     * 数据主键ID
     */
    public static final String ID = "id";
    /**
     * 数据库名称
     */
    public static final String DB = "database";
    /**
     * 数据库表名称
     */
    public static final String TABLE = "table";
    /**
     * 账号名称
     */
    public static final String USER_NAME = "username";
    /**
     * 角色名称
     */
    public static final String ROLE_NAME = "roleName";
    /**
     * 租户ID
     */
    public static final String TENANT_ID = "tenant_id";
    /**
     * 数据ID
     */
    public static final String DATA_ID = "data_id";
    /**
     * 主键ID
     */
    public static final String PK_NAMES = "pkNames";
}
